package com.cl.it.custom.model;

import com.cl.it.mbg.entity.AccessPool;
import com.cl.it.pool.AccessIndirectConnectionManager;
import com.jcraft.jsch.Session;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class Dashboard {

    private List<AccessPool> unActiveAccesses;

    private Map<String, Session> connsMap;

    private List<AccessPool> allAccessPools;


    public Map<String, Session> getConnsMap() {
        return AccessIndirectConnectionManager.getSessions();
    }
}
